#include "global.sqf";
#include "actions.sqf";
_gen = _this select 0;
_caller = _this select 1;
_id = _this select 2;
_args= _this select 3;
_action = _args select 0;
_param =  if (count _args > 1) then {_args select 1} else {[]};

if ( _action == "SitChair") then { [_gen] call _fnc_SitChair; };
if ( _action == "UpChair") then { [_gen] call _fnc_UpChair; };